package com.fuqi.android.zhongcai.base.request.api;


import com.android.volley.Response.ErrorListener;
import com.android.volley.Response.Listener;
import com.fuqi.android.zhongcai.base.ApiUrl;
import com.fuqi.android.zhongcai.base.request.result.FeedbackResult;
import com.fuqi.framework.network.api.AbsRequest;
import com.fuqi.framework.network.params.BaseParams;


/*
*  用户反馈接口
* */

public class FeedBackApi extends AbsRequest<FeedBackApi.FeedbackParams, FeedbackResult> {

    public FeedBackApi(FeedbackParams feedbackParams, Listener<FeedbackResult> listener, ErrorListener errorListener) {
        super(Method.POST, ApiUrl.getFeedbackUrl(), feedbackParams, listener, errorListener, FeedbackResult.class);
    }

    public static class FeedbackParams extends BaseParams {


        public FeedbackParams(String content, String contact) {

                put("CONTENT", content);
                put("CONTACT", contact);
        }
    }


}
